<include file="Public:header" />
<div class="container main"> <include file="Public:left" />
  <div class="w790">
    <h1><a href="{:U('add')}" title="添加数据" class="addbtn">添加数据</a> | <a href="{:U('index')}" title="返回" class="">返回</a></h1>

     <table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0"><tr class="data_list">
    <td align="right">字段名</td>
    <td align="left">管理类型</td>
    <td align="left">表名</td>
    <td align="left">操作</td>
  </tr>
<volist name="list" id="vo">
  
  <tr class="data_list">
    <td align="right">{$vo.fieldname}</td>
    <td align="left"><eq name="vo['type']" value="0">单行文本</eq>
    <eq name="vo['type']" value="1">多行文本</eq>
    <eq name="vo['type']" value="2">下拉框</eq>
    <eq name="vo['type']" value="3">编辑框</eq>
    <eq name="vo['type']" value="4">图片</eq>
    <eq name="vo['type']" value="6">布局编辑器</eq>
    <eq name="vo['type']" value="5">排序字段</eq>
    </td>
    <td align="left">{$vo.tablename}</td>
    <td align="left"><a href="{:U('edit',array('id'=>$vo['id']))}">编辑</a> | <a href="{:U('delete',array('id'=>$vo['id']))}" onclick="return confirm('您确定要删除这条记录吗？');">删除</a></td>
  </tr>
</volist>
  <tr>
    <td colspan="4"></td>
    </tr><tr>
    <td colspan="4"><div class="pages">{$pages}</div></td>
    </tr>
</table> 

  </div>
  <div class="clear"></div>
</div>
</body></html>